package com.hrm.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 李雪阳
 * @version 1.0
 * @date 2020/8/1 14:59
 */
public class Document implements Serializable {
    /**
     * 文件id
     */
    private Integer id;
    /**
     * 标题
     */
    private String title;
    /**
     * 文件名
     */
    private String filename;
    /**
     * 备注
     */
    private String remark;

    /**
     * 文件创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 文件创建人id
     */
    private Integer cuid;
    /**
     * 修改文件时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 修改文件人id
     */
    private Integer muid;
    /**
     * 文件发布人
     */
    private User cuser;
    /**
     * 修改文件人
     */
    private User muser;

    public Document() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getCuid() {
        return cuid;
    }

    public void setCuid(Integer cuid) {
        this.cuid = cuid;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getMuid() {
        return muid;
    }

    public void setMuid(Integer muid) {
        this.muid = muid;
    }

    public User getCuser() {
        return cuser;
    }

    public void setCuser(User cuser) {
        this.cuser = cuser;
    }

    public User getMuser() {
        return muser;
    }

    public void setMuser(User muser) {
        this.muser = muser;
    }
}
